package com.seezoon.application.user.dto;

import com.seezoon.domain.service.user.vo.CaptchaVO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class GenerateCaptchaCmd {


    @Schema(description = "生成验证码目标，如邮箱、手机号")
    @NotEmpty
    private String target;
    @Schema(description = "类型: 后台决定，注册:" + CaptchaVO.TYPE_USER_REGISTER + ",账号密码登录:"
            + CaptchaVO.TYPE_USER_LOGIN)
    @NotEmpty
    private String type;

}
